package com.idol;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import tk.mybatis.spring.annotation.MapperScan;

// 禁用springBoot自动配置的数据源，这样才能自定义数据源
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan("com.idol.dao")
public class ThymeleafBlogApplication {

    public static void main(String[] args) {
        SpringApplication.run(ThymeleafBlogApplication.class, args);
    }

}
